package com.woniuxy01;

/**
 * @author 作者
 * @create 2025-11-04 9:38
 */
public class Test01 {
    public static void main(String[] args) {
        Student s1=new Student(1,"zs",15);
        Student s2=new Student(2,"ls",12);
        System.out.println(s1.equals(s2));
        //比较两个学生大小,年龄大的学生大
//        System.out.println(s1.compareTo(s2));
    }
}
